Module 8 - Incorporating Ancillary Equipment and Interfaces
Introduction
This manual provides instructions for the installation and integration of ancillary components and platforms onto an OS6 system. The following ancillaries are detailed within this document:
- GPS Modem (SMS)
- Email Interface
- Camera Interface
- Moxa Dry Contact
- OPC-UA Interface
- REST Interface
- Modbus (Deprecated Interface)
- Connect Agent
These interfaces are not installed by default and will need to be added via the ‘System Install Scheduler’ as required.
Instructions for adding interfaces are described in Module 12.
Once added the next steps in this manual can be followed.
Teltonika - SMS and NTP
Hardware Setup
The OS6 System typically uses a Teltonika RUT955 or RUT956 modem to provide NTP, SMS and data connection capabilities. This section will deal with setting up the hardware for SMS functionality.
The following schematic shows an overview of the modem’s connectivity. For details regarding the modem’s specification, mounting and power requirements, please refer to the manufacturer’s User Manual.
The Modem is supplied with a 9V DC 4 pin adapter with an IEC Input connection as shown below:
 - 110V ~ 230V AC IEC Input to 4 Pin DC Output Power Supply](/assets/images/98fddafcd32ec058caae8436a2923d74-e14843d50fe2ec259944bc118d4e1ba5.png)
 - Teltonika RUT956 (Worldwide Variant)](/assets/images/a53ad43979c1ae73854dfdab49953693-908702c3b583917116888e86bdb91845.png)
The modem unit needs to have a working sim card inserted, only a standard size SIM card will fit the modem.

There is also an additional SIM slot, this can be used to provide dual redundancy. Slot 1 is to be used for the primary sim card slot.

Mobile Main Antenna Connection:
The modem is supplied with a GPS, Mobile (GSM) and WIFI Antenna
which should be installed outside to ensure the best possible signal reception.
Always refer to the system documentation to check if the other Antennas
need to be connected to the unit.
OPN_90132_REV_1 - 4G GSM GPS and Wifi Antenna

In applications where only one sim card is required, the sim card needs to be installed into SIM 1 port and the associated antenna needs to be connected to the Mobile MAIN antenna connector. Note the positions of this connector in under the red arrow.
In applications where two sim cards are installed the second sim card needs to be inserted into SIM 2 port which antenna needs to be connected to Mobile AUX antenna connector highlighted with the blue arrow.
The silver sim insertion / extraction tool is highlighted by the green arrow.


Please note:
SIM 1’s Sim Card port is on the opposite side to the corresponding Mobile MAIN antenna connector.
SIM 2’s Sim Card port is on the opposite side to the corresponding Mobile AUX antenna connector.
The silver sim insertion / extraction tool is highlighted by the green rectangle.
Colours used to highlight the related ports and connections.

The RUT955 or RUT956 (NTP unit) can now be plugged into the systems Gigabit Ethernet Switch (GES) from the port labelled LAN1 on the NTP (RUT955 or RUT956) unit.

In most setups the system components will be connected through a gigabit switch. Using the Teltonika RUT955 or RUT956 as a network switch is not recommended. The RUT955 and RUT956 is limited to 100 Base T, thus it should not be used in place of a Gigabit switch.
The modem should be installed into the equipment rack using the DIN rail kit which screws onto the rear of the unit in two positions.

The DIN Rail Kit clips onto the DIN Rail Rack Installation Kit.

Software Setup
To get a connection from CU to the modem, both need to be on the same network. On the CU, right-click on the network icon in the bottom right-hand corner of Windows home screen. Select Open Network Internet settings.
Right-click on Ethernet and select properties.

Select Internet Protocol Version 4 (TCP /IPv4) and then select Properties.

Change the IP address to be on the same network as the modem.
The default IP address for the modem is “192.168.1.1”.
For example, if the modem is “192.168.1.1” then the CU’s IP address can be “192.168.1.2”. The Subnet mask can be left as default. Select OK to commit the changes.

The modem’s interface should now be accessible. To access it, type in an internet browser 192.168.1.1 and press enter. Internet explorer works well . The default login details are Username: admin & unique password is stated on the rear of the unit!

When prompted to change the password, change it to OptaAdmin01
Please note the default password for the units may not be Admin01 as it was in the past.
The default password is printed on the rear of the unit and should be recorded for future reference if it is ever required.

To configure the Teltonika for use open go to the mode option and click on the mode until it displays Advanced as shown.
Then navigate to the System tab and select Setup Wizard from the drop-down menu.

Follow the steps described below:
From the System Tab
Step 1- General Tab
- Under WebUI Settings, check that the Configuration Mode is set to Advanced.
- Under General Settings, the Time Zone section can be left as default UTC
- Select Next to apply the settings.

Step 2 - LAN Configuration
- From the LAN menu.
- Set the IP Address as per the approved system documentation.
- Set Enable DHCP to OFF.
- Select Next to apply the settings.

Step 3 - Mobile Tab
- In the mobile configuration section, if the APN details are known, they can be manually entered by turning Auto APN to OFF.
- If the APN is not know Auto APN should be set to ON as default.
- Finally select Next to apply the settings.

Step 4 - Wi-Fi Tab
- From System Tab.
- Via the Wireless Tab.
- Make sure Enable is set to OFF.
- Type in the units unique AMT reference as per the reference image into the ESSID box.
- Set the password as per the agreed documentation.
- Select Next to apply the settings.

Step 5 - RMS Tab
From System Tab.
- Via the RMS Tab.
- Make sure Connection Type is set to Disabled.
- Finally select Finish to apply the settings and complete the wizard.

System Administration Settings
-
Select the System tab.
-
Navigate to, then select the Administration tab from the drop-down menu.

-
Go to Access Control option.

-
Via the General tab.
-
Turn ON the Enable SSH Access Secure option.
-
Finally select Save & Apply to apply the setting(s).


Important – Before you continue ensure you are not in the wrong tab. You should be in the Security tab and NOT the General tab. SSH MUST be enabled in the General Tab and it is advised to double check this before you continue.
-
Via the Security tab.
-
Turn OFF the Enable toggle for IP Block Setting.
-
There should be no Blocked Addresses listed in the section named Login Attempts, so a visual check is required to ensure there are no blocked IP addresses.
-
Finally select Save & Apply.

The IP address of the modem now needs be changed to be on the same network as the PU (refer to the approved documentation to check the IP address before continuing).
To do this:
-
Select Network > LAN.

-
Locate the Edit pencil icon for the LAN connection.
-
Set the Protocol to Static from the dropdown selection.
-
Set the IPv4 address as per the approved system documentation.
-
Set the IPv4 netmask as per the approved system documentation.
-
Under General Setup section set Enable DHCPv4 to Disable.

-
Scroll down to the bottom of this window.
-
Press Save & Apply to finish this section.
noteAs the interface IP address has now been changed from the units default 192.168.1.1 the interface will then become unusable, the CU’s IP address will now need to be reset for example 192.168.100.xxx so you can reconnect to the unit. The next step is to refer to the approved system documentation to ensure the correct IP address has been set for the (CU) Control Unit.
-
If necessary, Select Network > DNS and configure the DNS servers as per the approved system documentation.
Config Import and Export
A preconfigured config can be imported into the unit. It’s important the config is compatible with the unit’s model number and firmware version. In the example below, the file name is constructed from the model no., the firmware version, and the date created.
Example: V03020-RUT9XX_R_00.06.00.3_2019_03_27.tar.gz.
Go to System > Maintenance > Backup. From here the configuration can bebacked up or restored. Note: When downloading a config, please follow the naming convention as shown in the example above.
Firmware Import and Upgrade
-
Navigate to System tab
-
Next navigate to and then select Firmware

-
Depending on what network connection is available it may be possible to update from the server. If not, the firmware can be updated from a file obtained from the Teltonika website.
-
Select Update from file from the dropdown box and Keep settings selection box is ON. Then Browse and choose the required firmware file, example (RUT9XX_R_00.07.02.7_2022_11_27.tar.gz). The file will be uploaded and checked for compabilitity. Assuming this passes then and click Proceed to begin the update.

The modem will reboot for about 30 seconds, it would be a good idea to setup a test ping so you know when the unit has rebooted, after rebooting the unit will then be usable with its new firmware.
Check the configuration settings after upgrading the firmware as we have seen config corruption issues in the past.
Syncing CU / System to Modems NTP
To configure a CU to use the modem as an NTP time source, do the following.
- In Windows search type “date & time”, then press enter.
- Select “Additional date, time & regional settings”, then “Date and Time”.
- Select “Internet time”, then “Change setting”.
- Type the modems IP address in the server box and select “update now”.
- The CU’s time zone can be set to the appropriate region for the installation.
Troubleshooting
The modem has capacity for two SIM cards. This is to provide redundancy if one of the cards were to fail. Note: If another card were to be added the unit would need a reboot.
-
If the control unit is inaccessible via the webpage control this could be because the logon password has been input incorrectly on multiple occasions. If this is the case, then change the IP address of your CU to an unused IP address. Log in to the Teltonika unit, navigate to System > Administration > Access Control and remove the blocked IP address. After removing the blocked IP address change the IP address back to the original IP address.
-
The modem has capacity for two SIM cards. This can provide redundancy if one of the cards were to fail. Note: If another SIM card were to be added the unit would need a reboot.
-
If the Teltonika unit is sending messages but messages are not being sent from the OS6 Software, firstly check that SMS has been licensed. If this does not resolve the issue then check that SSH settings have been enabled in the General tab and disabled in the security tab.
Setting up SMS in OS6
The External Comms process will need to be loaded into the system. For information on how to add a process into the software, see Module 12.
From the software toolbar, go to the Configure > External Communications > SMS. If the External Communications menu isn’t available check that you are logged in with the appropriate access level.

In the Configuring SMS Service box enter the IP address of the Modem (this will be the address of the Teltonika modem) and the Username/Password**.** The Username is always “root” and the password is the password of the teltonika modem (refer to approved documentation).

Then click test connection to confirm that OS6 can talk to the modem.

Click anywhere to go back to the settings box and click save.
To access the address box, go to Configure > External Communications > External Comms Address Book.

To add a mobile number to the address book, right click in an empty space within the address book area and select Add Entry.

In the Add Entry box, enter a name in the name field, followed by the mobile number that the notifications will get sent to. Make sure the Enabled checkbox is checked. Press ‘Ok’.

Phone numbers should be added in their local number format, unless they are sending internationally. The + in the internation area code should be input as 00 to prevent the modem from crashing.
In the Alert type box select add. Then select what type of alerts and the threat level that should be forwarded to address book entries. Note: multiple entries can be added.

The information contained in the notification SMS can be refined. Select Show Wildcard to provide a list of cards that can be added to the system. For example, using the card would provide a map link in any sent SMS’s. If the recipient was to click on the link, they would be shown a point on a map of where the alert was generated. Wildcards can be added into the SMS text by copying the wildcard text. To apply all the settings in this section, select Apply All.
Email Interface
The External Communications Controller will need to be installed via the System Install Scheduler. For information on how to install this, refer to Module 12.
Software Setup
The email interface has been designed to communicate with external systems and users via email. The interface can be configured to store a set of users and then assign specific actions to each user. For example – users can be set up to receive various levels of alerts and system errors. Email interface runs directly on the node which means that there is a requirement for the node to be connected to some form of internet to allow emails to be sent.
Configuring the Interface
From the software toolbar, go to the Configure > External Communications > Email.
The Email Service configuration window will appear

If the PU has direct access to the internet, the service can be configured to talk directly to an external third-party SMTP server, If not and only the CU has internet access then email can be configured to be relayed to the CU first and sent from there. The service configuration below is the same in either case.
- SMTP Host Name: Host address of SMTP server.
- SMTP Port: Port number used by SMTP server to receive email.
- UserName: Host username.
- Password: Host password.
- From Address: Senders email address.
- Secure Comms (SSL) Enabled: Offers upgraded encryption of mail if SMTP server supports it.
The “Test Connection” button only confirms that the SMTP server host and port are accessible from the machine running the External Comms Interface (or CU when in relay mode). It does not test whether the credentials are correct.
Gmail and Outlook.com (Hotmail) email addresses do not work well for testing functionality. Both services are becoming increasingly difficult to send SMTP email messages through. Ideally, an outgoing email server and credentials should be provided by the customer.
Email Relay
For installations where PUs do not have access to the internet, emails to be sent can be relayed via a CU. Select the “Relay this service to a CU” box to enable this feature and enter the IP address of a CU to use. Any CU in a system will be running the background service required and will be able to perform this function.
The IP of the current CU will be populated by default, this can be changed if required. In the case of CUs with multiple IP addresses, care should be taken to ensure that the IP specified here is contactable by the PUs in the system.

Configuring Email Address Book
Contacts that will receive email notifications can be created in the address book using email addresses. Currently a separate contact needs to be created if the same person is to receive email SMS notifications. The following steps need to be followed to configure email addresses:
-
Within the Address Book Entries section, right-click and select “Add Entry” from the External Communications Dialog.

-
This will open the “Add Entry” window within this window all information needs to be added for the contact.

-
Ensure that the “Enabled” check box is checked if the email address is to be used.